<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/content/mytags.jsp"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>数据源</title>
		<t:resource types="jquery,lhgdialog,easyui" />
	</head>
	<body>
		<ui:datagrid name="dataSourceList" idField="dbName" action="datasource.do?datagrid" title="数据源" >
			<ui:column field="dbName" title="数据源名称" sortable="false"/>
			<ui:column field="dbDepict" title="数据源描述" sortable="false"/>
			<ui:column field="dbDriverclass" title="数据源驱动" sortable="false"/>
			<ui:column field="dbUrl" title="数据源URL" sortable="false"/>
			<ui:column field="dbUsername" title="数据源用户名" sortable="false"/>
			<ui:column field="dbPassword" title="数据源密码" sortable="false"/>
			<ui:column field="dbType" title="数据库类型" sortable="false"/>
			<ui:column field="opt" title="操作" align="center" />
			<ui:deleteOpt url="datasource.do?delete&name={dbName}" message="确定要删除数据源[{dbName}]吗？" permiCode="system:datasource:delete" title="删除数据源" />
			<ui:toolbar iconCls="add" title="新增数据源" permiCode="system:datasource:save" url="datasource.do?addorupdate" funname="add" height="340" />
			<ui:toolbar iconCls="edit" title="编辑数据源" permiCode="system:datasource:save" url="datasource.do?addorupdate" funname="update" height="340" />
		</ui:datagrid>
	</body>
</html>